package com.yydream.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("sys_role")
public class SysRoleEntity extends TenantBaseEntity{

    @TableId
    @ApiModelProperty(name = "角色id",notes = "")
    private Long id ;

    @ApiModelProperty(name = "角色名称",notes = "")
    private String name ;

    @ApiModelProperty(name = "角色状态",notes = "（1：启动，2：禁用）")
    private Integer state ;

}
